<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="../../../css/common/common.css" rel="stylesheet">
</head>
<body>
<header th:fragment="header">
  <div class="head">
    <img src="../../../images/列表.png" alt="">
<!--    <span class="home">首页</span>-->
    <div class="person">
      <input type="button" value="退出登录" onclick="outLogin()">
    </div>
  </div>
</header>
<!-- 左边 -->
<aside th:fragment="aside">
  <div class="navigation">
    <div style="padding: 8px 50px;width: 100%;height: 100%">
      <span class="title" >请假系统</span>
    </div>
    <div>
      <ul>
        <li>
          <a href="/home">
            <img src="../../../images/home2-copy.png" alt="">首页
          </a>
        </li>
        <li th:if="${session.identity == '系统管理员'}">
          <a href="/department/list?pageSize=7&pageNum=1">
            <img src="../../../images/中图模式.png" alt="">二级学院信息管理
          </a>
        </li>
        <li th:if="${session.identity == '系统管理员'}">
          <a href="/instructor/list?pageSize=7&pageNum=1">
            <img src="../../../images/朋友-fill.png" alt="">辅导员信息管理
          </a>
        </li>
        <li th:if="${session.identity == '辅导员'}">
          <a href="/classes/list?pageSize=7&pageNum=1">
            <img src="../../../images/_收藏2.png" alt="">班级信息管理
          </a>
        </li>
        <li th:if="${session.identity == '辅导员'}">
          <a href="/course/list?pageSize=7&pageNum=1">
            <img src="../../../images/edit.png" alt="">课程信息管理
          </a>
        </li>
        <li th:if="${session.identity == '辅导员'}">
          <a href="/student/list?pageSize=7&pageNum=1">
            <img src="../../../images/我的小.png" alt="">学生信息管理
          </a>
        </li>
        <li th:if="${session.identity == '学生'}">
          <a href="/leaveApply/list?pageSize=7&pageNum=1">
            <img src="../../../images/我的小.png" alt="">请假管理
          </a>
        </li>
        <li th:if="${session.identity == '辅导员'}">
          <a href="/leaveApply/approveLeaveList?pageNum=1&pageSize=7">
            <img src="../../../images/我的小.png" alt="">请假管理
          </a>
        </li>
        <li th:if="${session.identity == '系统管理员'}">
          <a href="/user/info">
            <img src="../../../images/3.1%20设置.png" alt="">个人设置
          </a>
        </li>
      </ul>
    </div>
  </div>
</aside>
</body>
</html>